import request from '@/utils/request'

// 登录
export function loginAPI(data) {
  return request({
    url: '/user-service/user/login',
    method: 'post',
    data
  })
}

// 验证码
export function codeAPI(clientToken) {
  return request({
    url: `/user-service/user/imageCode/${clientToken}`
  })
}

